#!/usr/bin/env bash


cd ../app
gradle clean assembleRelease $@

cd ../tools/

mkdir outApk

cp -R ../app/build/outputs/mapping/release/ outApk/mapping
rm -f outApk/mapping/dump.txt

cp ../app/build/outputs/apk/release/app-release.apk outApk/